<%-- 
    Document   : ShowAlbum
    Created on : Nov 7, 2013, 1:08:29 PM
    Author     : Trung Kien
--%>

<%@page contentType="text/html" pageEncoding="UTF-8"%>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<!DOCTYPE html>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>JSP Page</title>
    </head>
    <body>
        <h1>Hello World!</h1>
            <table>
                <tr>
                    <th>Album Name</th>
                    <th>Description</th>
                    <th>Date Create</th>
                    <th>User Name</th>
                </tr>
                <c:forEach var="a" items="${list}" >
                    <tr>
                        <td>${a.getAlbumname()}</td>
                        <td>${a.getDescription()}</td>
                        <td>${a.getDatecreate()}</td>
                        <td>${a.getUsername()}</td>
                    </tr>
                </c:forEach>
    </body>
</html>
